﻿<UserControl x:Class="Abhiruchi_Phase1.UC_ORG_TaskMaster"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >
    <Grid Background="#FFF0F3F6" Width="Auto"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="1200">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="30*" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="30*" />
        </Grid.ColumnDefinitions>
        <Line   HorizontalAlignment="Stretch" Stretch="Uniform" StrokeThickness="5" X1="0" Y1="0" X2="1" Y2="0" Margin="0,67,0,0" VerticalAlignment="Top" Grid.ColumnSpan="4" Height="14" Width="auto">
            <Shape.Stroke>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                    <GradientStop Color="Transparent" Offset="0" />
                    <GradientStop Color="Silver" Offset="1" />
                    <GradientStop Color="Transparent" Offset="1" />
                </LinearGradientBrush>
            </Shape.Stroke>
        </Line>
        <Label Content="Task ID" Height="28" HorizontalAlignment="Stretch" Margin="10,120,0,0" Name="lblTid" VerticalAlignment="Top" FontWeight="Normal" Foreground="#FF382D2C" />
        <Label Content="Section" Height="28" HorizontalAlignment="Stretch" Margin="17,120,0,0" Name="lblSecName" VerticalAlignment="Top" FontWeight="Normal" Grid.Column="2" Foreground="#FF382D2C" />
        <Label Content="Task Name" Height="28" HorizontalAlignment="Stretch" Margin="9,148,0,0" Name="lblTaskName" VerticalAlignment="Top" FontWeight="Normal" Foreground="#FF382D2C" />
        <CheckBox Content=" Is Active" Height="20" HorizontalAlignment="Left" Margin="0,266,0,0" Name="chkStatus" VerticalAlignment="Top" Width="73" Grid.Column="1" Foreground="#FF382D2C" TabIndex="8" />
        <Button Content="Save" Height="22" HorizontalAlignment="Left" Margin="0,312,0,0" Name="btnSave" VerticalAlignment="Top" Width="100" Click="btnSave_Click" Grid.Column="1" TabIndex="9" />
        <Button Content="Clear" Height="22" HorizontalAlignment="Left" Margin="142,312,0,0" Name="btnClear" VerticalAlignment="Top" Width="100" Click="btnClear_Click" Grid.Column="1" TabIndex="10" />
        <ComboBox Height="22" HorizontalAlignment="Stretch" Margin="0,120,0,0" Name="cmbShowSec" VerticalAlignment="Top" VerticalContentAlignment="Center" SelectionChanged="cmbShowSec_SelectionChanged" FontSize="12" FontFamily="Segoe UI" ItemsSource="{Binding}" SelectedIndex="-1" Grid.Column="3" BorderThickness="2"  TabIndex="2" Width="Auto" />
        <Label Content="Task Matrix" Height="25" HorizontalAlignment="Stretch" Margin="17,153,0,0" Name="lblTskMatrix" VerticalAlignment="Top" FontWeight="Normal" Grid.Column="2" Foreground="#FF382D2C" />
        <Grid Height="35" Grid.Column="3" Margin="1,145,0,0" HorizontalAlignment="Stretch"  VerticalAlignment="Top" Width="Auto">
            <Grid.RowDefinitions>
                <RowDefinition Height="7*" />
                <RowDefinition Height="28*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="58" />
                <ColumnDefinition Width="25*" />
                <ColumnDefinition Width="81" />
                <ColumnDefinition Width="25*" />
                <ColumnDefinition Width="80" />
                <ColumnDefinition Width="80" MinWidth="80" MaxWidth="80"/>
                <ColumnDefinition Width="4" />
            </Grid.ColumnDefinitions>
            <Label Content="Gender" Height="25" HorizontalAlignment="Stretch" Margin="-10,0,12,0" Name="lblGender" VerticalAlignment="Top" Foreground="#FF382D2C" Width="48" Grid.Row="1" />
            <Label Content="Hours" Height="27"  Margin="24,1,15,0" Name="lblHrs" VerticalAlignment="Top" Foreground="#FF382D2C" Width="42" Grid.Column="2" Grid.Row="1"></Label>
            <!--<Label Content="Hours" Height="27" HorizontalAlignment="Left" Margin="0,8,33,0" Name="lblHrs" VerticalAlignment="Top" Foreground="#FF382D2C" Width="42" Grid.Column="2" Grid.ColumnSpan="1" />-->
            <Label Content="Pay Per Day" HorizontalAlignment="Right" Margin="0,6,0,0" Name="lblPPday" Foreground="#FF382D2C" Width="80" Height="26" VerticalAlignment="Top" Grid.Column="4" Grid.RowSpan="2" />
            <ComboBox Height="22" HorizontalAlignment="Stretch" Margin="0,2,6,0" Name="cmbShowGen" VerticalAlignment="Top" SelectedIndex="0" TabIndex="4" Width="Auto" Grid.Column="1" Grid.Row="1"></ComboBox>
            <ComboBox Height="22" HorizontalAlignment="Stretch" Margin="0,1,3,0" Name="cmbShowHours" VerticalAlignment="Top" SelectedIndex="0" TabIndex="5" Width="Auto" Grid.Column="3" Grid.Row="1"></ComboBox>
            <TextBox Height="22" HorizontalAlignment="Stretch" Margin="0,1,0,0" Name="txtShowPPDay" VerticalAlignment="Top" LostFocus="txtShowPPDay_LostFocus" TabIndex="6" MaxLength="45" Grid.Column="5" Grid.ColumnSpan="2" Grid.Row="1" />
        </Grid>
        <Label Content="Description" Height="28" HorizontalAlignment="Stretch" Margin="12,187,0,0" Name="lblDesc" VerticalAlignment="Top" FontWeight="Normal" Foreground="#FF382D2C" />
        <TextBox Height="60" Width="Auto" HorizontalAlignment="Stretch" Margin="0,189,0,0" Name="txtShowDesc" VerticalAlignment="Top" FontSize="12" FontFamily="Segoe UI" Grid.ColumnSpan="3" TextWrapping="Wrap" Grid.Column="1" TabIndex="7" VerticalScrollBarVisibility="Auto" />
        <TextBox Height="22" HorizontalAlignment="Stretch" Text="{Binding Path=SelectedItem.Content, ElementName=cmbShowSec}" Margin="0,153,0,0" Name="txtTaskShowNm" LostFocus="txtTaskShowNm_LostFocus" FontSize="12" FontFamily="Segoe UI" VerticalAlignment="Top" Grid.Column="1" TabIndex="3" Width="Auto" MaxLength="75" />        
        <telerik:RadGridView HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="200" Width="auto" FontSize="12" FontFamily="Segoe UI" DataContext="{Binding}"  CanUserFreezeColumns="True" Focusable="False" IsReadOnly="True" Name="grdDisp" RowActivated="grdDisp_RowActivated" Margin="19,399,0,0" Grid.ColumnSpan="4" TabIndex="11">
        </telerik:RadGridView>

        <telerik:RadGridView HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="Auto" Width="auto" FontSize="12" FontFamily="Segoe UI" DataContext="{Binding}"  CanUserFreezeColumns="True" Focusable="False" IsReadOnly="True" Name="grdAllDisp"  Margin="19,659,0,0" Grid.ColumnSpan="4" RowActivated="grdAllDisp_RowActivated" TabIndex="12">
        </telerik:RadGridView>


        <Image Height="40" HorizontalAlignment="Left" Margin="10,18,0,0" Name="imgTask" Stretch="Fill" VerticalAlignment="Top" Width="40" Source="/Abhiruchi_Phase1;component/Images/TaskMgmt1.ico"  />
        <Label Content="Task Management" Height="30" HorizontalAlignment="Left" Margin="46,10,0,0" Name="lblTaskMaster" VerticalAlignment="Top" Foreground="#FF666362" FontFamily="Corbel" FontSize="15" Grid.ColumnSpan="2" />
        <Label Content="" Height="30" HorizontalAlignment="Left" Margin="55,29,0,0" Name="lblEditNew" VerticalAlignment="Top" Width="55" Grid.ColumnSpan="2" FontWeight="Bold" FontSize="18" />
        <Label Content="Tasks Details" FontFamily="Segoe UI" FontSize="12" FontWeight="Bold" Foreground="#FF2554C7" Height="28" HorizontalAlignment="Left" Margin="6,83,0,0" Name="lblcntrlsctn" VerticalAlignment="Top" />
        <Label Content="Selected Section Tasks" FontFamily="Segoe UI" FontSize="12" FontWeight="Bold" Foreground="#FF2554C7" Grid.ColumnSpan="2" Height="28" HorizontalAlignment="Left" Margin="14,355,0,0" Name="lblgrdexstngsctn" VerticalAlignment="Top" />

        <Label Content="All Section Tasks" FontFamily="Segoe UI" FontSize="12" FontWeight="Bold" Foreground="#FF2554C7" Grid.ColumnSpan="2" Height="28" HorizontalAlignment="Left" Margin="14,617,0,0" Name="lblgrdAllSctn" VerticalAlignment="Top" />
        <Label  Name="label1" Content="*" FontWeight="Bold" Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="67,147,0,0"  VerticalAlignment="Top" Width="20" FontSize="14" FontFamily="Candara" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="48,117,0,0" Name="label2" VerticalAlignment="Top" Width="20" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="57,120,0,0" Name="label3" VerticalAlignment="Top" Width="20" Grid.Column="2" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="78,152,0,0" Name="label5" VerticalAlignment="Top" Width="20" Grid.Column="2" />
        <TextBox Grid.Column="1" Height="22" Background="#FFF0F3F6" HorizontalAlignment="Stretch" Margin="0,120,0,0" Name="lblShowTskID" VerticalAlignment="Top" IsReadOnly="True" IsEnabled="True" MinWidth="0" TabIndex="1" Width="Auto" />
    </Grid>
</UserControl>
